<?php 
	set_include_path ("/Applications/MAMP/htdocs/BullesDeMantes");
	include_once '../../administrator/connect_sql.php';
	include_once '../../BDAO/ArtDAO.php';
?>
<html>
<head>
</head>
<body>
<h1>Test Object Metier</h1>
<?php 
	try {
		$ar = ArtDAO::load(1);
		echo 'load : '.$ar->getId();
		
		$art = new Art();
		$art->setArt("art 1");
		ArtDAO::store($art);

		echo '$art';
		echo $art->getArt();
	} catch (Exception $e) {
    	echo 'Caught exception: ',  $e->getMessage(), "\n";
	}
?>
After
</body>
</html>